package com.zdj.data.datasource;

import java.util.List;

import retrofit2.adapter.rxjava.Result;
import rx.Observable;

/**
 * Created by zdj on 16-6-26.
 */

public abstract class BaseDataStore<T> {

    public abstract Observable<List<T>> entityList(String... strings);

    public abstract Observable<Result<T>> entityDetails(final int id,String... strings);

    public abstract Observable<Result<T>> getEntity();
}
